package com.ruoyi.web.core.facade;

import com.hnyc.IFacadeUser;

import com.ruoyi.common.utils.SecurityUtils;
import org.springframework.stereotype.Component;

/**
 * @auther zero
 * @date 2023/3/17
 **/
@Component
public class UserProvider implements IFacadeUser {

    @Override
    public String getSysUserIdentify() {
        return String.valueOf(SecurityUtils.getLoginUser().getUserId());
    }
}
